package dicom.jpg.util;

import dicom.jpg.dto.Dcm2Jpg;
import dicom.jpg.dto.Dcm2jpgParam;
import lombok.extern.slf4j.Slf4j;

/**
 * <p>dicom文件转图片工具类
 *
 * <p>版权所有:Copyright (c) 2021
 *
 * @author 周昭名
 * @version V1.0
 * @since 2022/8/9 15:30
 */
@Slf4j
public class Dcm2JpgUtil {

    public static boolean dcm2JpgFile(String dcmFilePath, String jpgFilePath, Dcm2jpgParam dcm2jpgParam) {
        Dcm2Jpg dcm2Jpg = new Dcm2Jpg();
        return dcm2Jpg.dcm2JpgFile(dcmFilePath, jpgFilePath, dcm2jpgParam);
    }

}

